/**
 * @name 优惠券管理
 */
import request from '@/utils/request'

// 获取优惠券/权益包列表
export const getBatchList = data => {
  return request({
    url: '/h5/csproxy/studioBenefitBatchSummary/selectPage',
    method: 'post',
    data
  })
}

// 获取优惠券批次详情
export const getCouponBatchInfo = data => {
  return request({
    url: '/h5/couponBatch/getCouponBatchInfo',
    method: 'post',
    data
  })
}

// 获取权益包批次详情
export const getPackageBatchInfo = data => {
  return request({
    url: '/h5/benefitPackageBatch/getBenefitPackageBatch',
    method: 'post',
    data
  })
}